package com.andrew.entity;

import java.math.BigDecimal;

public class Book {
	
	private int BookId;
	private String BookName;
	private String Picture;
	private String Author;
	private BigDecimal Price;
	private String Description;
	private int  Stock;
	public int getBookId() {
		return BookId;
	}
	public void setBookId(int bookId) {
		BookId = bookId;
	}
	public String getBookName() {
		return BookName;
	}
	public void setBookName(String bookName) {
		BookName = bookName;
	}
	public String getPicture() {
		return Picture;
	}
	public void setPicture(String picture) {
		Picture = picture;
	}
	public String getAuthor() {
		return Author;
	}
	public void setAuthor(String author) {
		Author = author;
	}
	public BigDecimal getPrice() {
		return Price;
	}
	public void setPrice(BigDecimal price) {
		Price = price;
	}
	public String getDescription() {
		return Description;
	}
	public void setDescription(String description) {
		Description = description;
	}
	public int getStock() {
		return Stock;
	}
	public void setStock(int stock) {
		Stock = stock;
	}
	@Override
	public String toString() {
		return "Book [BookId=" + BookId + ", BookName=" + BookName + ", Picture=" + Picture + ", Author=" + Author
				+ ", Price=" + Price + ", Description=" + Description + ", Stock=" + Stock + "]";
	}
	public Book(int bookId, String bookName, String picture, String author, BigDecimal price, String description,
			int stock) {
		super();
		BookId = bookId;
		BookName = bookName;
		Picture = picture;
		Author = author;
		Price = price;
		Description = description;
		Stock = stock;
	}
	
	public Book() {}
}
